package com.wuye.basic.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.wuye.charge.domain.WyCostMake;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.wuye.common.annotation.Excel;
import com.wuye.common.core.domain.BaseEntity;

import java.util.List;

/**
 * 房间资料对象 wy_home
 *
 * @author jack
 * @date 2024-11-26
 */
@Data
public class WyHome
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    @TableId(type = IdType.AUTO,value = "homeId")
    private Long homeId;

    /** 门牌号 */
    @Excel(name = "门牌号")
    @TableField(value = "homeNumber")
    private Long homeNumber;

    /** 房间位置 */
    @Excel(name = "房间位置")
    @TableField(value = "homeLocation")
    private String homeLocation;

    /** 房屋所属楼层 */
    @Excel(name = "房屋所属楼层")
    @TableField(value = "homeLayserNumber")
    private Long homeLayserNumber;

    /** 业主id */
    @Excel(name = "业主id")
    @TableField(value = "ownerId")
    private Long ownerId;

    /** 租户id */
    @Excel(name = "租户id")
    @TableField(value = "householdId")
    private Long householdId;

    /** 是否租住，0已租住，1未租住 */
    @Excel(name = "是否租住，0已租住，1未租住")
    @TableField(value = "status")
    private Long status;

    /** 面积 */
    @Excel(name = "面积")
    @TableField(value = "area")
    private Long area;

    /** 使用面积 */
    @Excel(name = "使用面积")
    @TableField(value = "usableArea")
    private Long usableArea;

    /** 仓库面积 */
    @Excel(name = "仓库面积")
    @TableField(value = "warehouseArea")
    private Long warehouseArea;

    /** 备注 */
    @Excel(name = "备注")
    @TableField(value = "homeRemark")
    private String homeRemark;

    /** 逻辑删除 */
    @TableLogic
    private Long del;

    @TableField(exist = false)
    private WyOwner owner;



}
